home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / ft Engine ƒ / ftEngine 0.1d2 / headers / infoManager.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-29  |  1.3 KB  |  60 lines

  1. /*
  2. Copyright ⌐ 1991-1992.  All rights reserved.
  3.     
  4.  
  5.     You may distribute under the terms of either the GNU General Public
  6.     License or the Artistic License, as specified in the README file.
  7.     
  8.     This file was written by Tony Jacobs in early 1992
  9.     See the Modification History for more details
  10.  
  11. FILE
  12.     infoManager.h
  13.  
  14. NAME
  15.     infoManager.h Part of the FilterTop project
  16.  
  17. DESCRIPTION
  18.     This source file contains code for prototypes that handle the Info Manager.
  19.  
  20. MODIFICATION HISTORY
  21.     Created by Tony Jacobs
  22.  
  23.     dd mmm yy    -    xxx    -    patchxx: description of patch
  24.     28 Mar 92    -    CRP    -    Added GetFSSpecFromList proto and PipeInfo typedef
  25.     
  26. */    
  27.  
  28. /*********************************** infoManager.h ******************************/
  29.  
  30. #ifndef    _infoManager_
  31. #define    _infoManager_
  32.  
  33. /******************** typedefs */
  34.  
  35. typedef struct {
  36.     short    filterNumber;    
  37.     short    filterType;
  38. }    PipeInfoRec;
  39.  
  40. /******************** protos */
  41.  
  42. void            HandleInfo(void);
  43.  
  44. /******************** window handlers */
  45.  
  46. void    SetupInfoWindow(void);
  47. void    UpdateInfoWindow(void);
  48. void    ActivateInfoWindow( Boolean);
  49. void    InfoContentClick( EventRecord *);
  50.  
  51. /******************** utility protos */
  52.  
  53. OSErr            GetFSSpecFromLastListClicked( FSSpec *);
  54. OSErr            GetFilterInfoHandle( FSSpec, fINFrecord *);
  55. OSErr            GetHFileInfo(FSSpec, HFileInfo *);
  56. void            SetUpDroponableButton ( WindowPtr);
  57.  
  58.  
  59. #endif
  60.